/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GA;

/**
 *
 * @author Andrew
 */
abstract public class PopulationMember<T> {
    protected T chromosome;

    public PopulationMember(T chromosome) {
        this.chromosome = chromosome;
    }

    abstract public PopulationMember<T> cross(PopulationMember<T> member);
    abstract public PopulationMember<T> mutate();
    abstract public int getFitness();
}